package control;

// : control/ListCharacters.java
// Demonstrates "for" loop by listing
// all the lowercase ASCII letters.
/**
 * @title ListCharacters 打印小于128的小写字母
 * @author liujiaze@zbj.com
 * @date 2017年7月28日 上午11:22:06
 * @since v1.0.1
 */
public class ListCharacters {
    public static void main(String[] args) {
        for (char c = 0; c < 128; c++)
            if (Character.isLowerCase(c))
                System.out.println("value: " + (int) c + " character: " + c);
    }
} /*
   * Output:
   * value: 97 character: a
   * value: 98 character: b
   * value: 99 character: c
   * value: 100 character: d
   * value: 101 character: e
   * value: 102 character: f
   * value: 103 character: g
   * value: 104 character: h
   * value: 105 character: i
   * value: 106 character: j
   * ...
   * Character.isLowerCase(c)用来检查字符是否为小写
   */// :~
